#include <vector>
#include<iostream>
#include <time.h>
using namespace std;
int get_rand()
{
  int i;
  i=rand()%100+1;
  return i;   
}

vector<int> get_array(int num)
{
  srand(time(0));
  vector<int>array;
  for(int i =0; i != num + 1; i++)
  {
      array.push_back(get_rand());
  }
  return array;
}

void display_array(vector<int> vec)
{
  vector<int>::iterator ite = vec.begin() + 1;
  for (; ite != vec.end(); ite++)
  {
      cout << *ite << ' ' ;
  }
  cout << endl;
}
